package com.ruoyi.deeplearn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 算法对象 deep_algorithm
 *
 * @author 任伟伟
 * @date 2022-12-10
 */
public class DeepAlgorithm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模块ID */
    private Long id;

    /** 算法名称 */
    @Excel(name = "算法名称")
    private String name;

    /** 算法编码 */
    @Excel(name = "算法编码")
    private String code;

    /** 状态：（0正常 1停用） */
    @Excel(name = "状态：", readConverterExp = "0=正常,1=停用")
    private Integer status;



    /** 数据集类型id  deep_dataset_type */
    @Deprecated
    private Long modelTypeId;//deep_dataset_type 的 id
    /** 数据类型: 1:照片  2：视频  3：文字    */
    private Integer modelType;




    private String server;//算法地址
    private String trainUrl;//train_url  训练地址
    private String modelUrl;//模型地址  model_url
    private String forecastUrl;//forecast_url  预测地址
    private String validationUrl;//validation_url  验证地址
    private String trainTestUrl;//train_test_url  训练测试地址
    private Integer platform;//平台  1：keras  2:pytouch
    private String forecastResult;
    private String forecastResultParse;
    private String parseConfig;//parse_config


    //////////////////////////////////////////


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getModelTypeId() {
        return modelTypeId;
    }

    public void setModelTypeId(Long modelTypeId) {
        this.modelTypeId = modelTypeId;
    }

    public Integer getModelType() {
        return modelType;
    }

    public void setModelType(Integer modelType) {
        this.modelType = modelType;
    }

    public String getServer() {
        return server;
    }

    public void setServer(String server) {
        this.server = server;
    }

    public String getTrainUrl() {
        return trainUrl;
    }

    public void setTrainUrl(String trainUrl) {
        this.trainUrl = trainUrl;
    }

    public String getModelUrl() {
        return modelUrl;
    }

    public void setModelUrl(String modelUrl) {
        this.modelUrl = modelUrl;
    }

    public String getForecastUrl() {
        return forecastUrl;
    }

    public void setForecastUrl(String forecastUrl) {
        this.forecastUrl = forecastUrl;
    }

    public String getValidationUrl() {
        return validationUrl;
    }

    public void setValidationUrl(String validationUrl) {
        this.validationUrl = validationUrl;
    }

    public String getTrainTestUrl() {
        return trainTestUrl;
    }

    public void setTrainTestUrl(String trainTestUrl) {
        this.trainTestUrl = trainTestUrl;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public String getForecastResult() {
        return forecastResult;
    }

    public void setForecastResult(String forecastResult) {
        this.forecastResult = forecastResult;
    }

    public String getForecastResultParse() {
        return forecastResultParse;
    }

    public void setForecastResultParse(String forecastResultParse) {
        this.forecastResultParse = forecastResultParse;
    }

    public String getParseConfig() {
        return parseConfig;
    }

    public void setParseConfig(String parseConfig) {
        this.parseConfig = parseConfig;
    }
}
